﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<%PowerGroup modelpowergroup = v.data("powergroup") as PowerGroup; %>
<%var bllPowerGroupService = new PowerGroupService(); %>

<!--文件管理-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("communicate", "mkdir", modelpowergroup)) { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{creatfile_botton}','<%=link.to(new wojilu.Web.Controller.Admin.Qycms.FileController().FileMkDir) %>?path='+escape(document.getElementById('filepath').value)+'&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{creatfile_botton}" hidefocus="true">_{creatfile_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "delfile", modelpowergroup)) { %>
	<li class="menumain"><a id="del" onclick="javascript:delfile('<%=link.to(new wojilu.Web.Controller.Admin.Qycms.FileController().DelFile) %>','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all','filepath');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>